package com.example.pmxt.modules.Notice;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.pmxt.domain.Notice;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface NoticeMapper extends BaseMapper<Notice> {

    //逻辑删除轮播图
    @Update("UPDATE busi_notice SET deleteflag = 1 WHERE id = #{id};")
    int delete(Integer id);

}
